@font-face {
  font-family: Poppins; /* set name */
  src: url(css/font/Poppins/Poppins-Bold.ttf); /* url of the font */
}

html {
  scroll-behavior: smooth;
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: linear-gradient(to bottom,  rgba(255, 67, 67, 0.75) -10%,#fc000000 100%);
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.content {
    position: relative;
}

.content h2 {
    font-size: 100px;
    position: absolute;
    transform: translate(-40%, -90%); /*position dans la boite*/
    white-space: nowrap;
    left: -90px;
}

.content h2:nth-child(1) {
    color: transparent;
    -webkit-text-stroke: 2px #ce303a; /* bordure de la police*/
}

.content h2:nth-child(2) {
    color: #ce303a;
    animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
  0%,
  100% {
    clip-path: polygon(
      0% 45%,
      16% 44%,
      33% 50%,
      54% 60%,
      70% 61%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }

  50% {
    clip-path: polygon(
      0% 60%,
      15% 65%,
      34% 66%,
      51% 62%,
      67% 50%,
      84% 45%,
      100% 46%,
      100% 100%,
      0% 100%
    );
  }
}


/*corps et titres*/
body{
    background-color: #1c000b;
    font-family: "Poppins",sans-serif; 
    color:white; 
}

.grille {
    margin: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

li .grille {
    margin: auto;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 75px;


}

img {
    width: 100%;
    padding: 2px;
    border-radius: 10px;
}

h1{ 
    text-indent:30px;
    border-radius: 10px;
    background-image: linear-gradient(to right,  rgba(255, 67, 67, 0.75) -10%,#fc000000 100%);
}

p {
    margin: 0;
    display: inline-flex;
}


/*liens cliquables*/
a {
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    color: white;
    transition: color 500ms linear 0ms;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    
    &::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) scaleX(0);
        transform-origin: 50% 50%;
        width: 100%;
        height: 1px;
        background-color: #ce303a;
        transition: transform 250ms;
    }

    &:hover {
        
        &::after {
        transform: translateX(-50%) scaleX(1);
        }
        
    }   
}

a:hover {
    color:#ce303a;
}

.pedro {
    margin-top: 1000px;
}

